package com.neuedu.it.teach.dao;


import com.neuedu.it.teach.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {
    User queryByNameAndPwd(@Param("name") String name, @Param("pwd") String pwd);
    int insertUser(User user);  // 新增方法

    User queryUserById(int userId);
}
